package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Supplier;

import java.util.List;
import java.util.Map;

/**
 * @description
 */
public interface SupplierService {

    //分页查询供应商
    Map<String,Object> list(Integer page, Integer rows, String supplierName);


    //添加或修改供应商
    ServiceVO save(Supplier supplier);


    //删除供应商
    ServiceVO delete(String ids);


    //供应商下拉列表查询
    List<Supplier> getComboboxList(String q);
}
